package com.gcph.zhuoba.main.bean;

import java.util.Arrays;

import android.graphics.Bitmap;

public class Ball {
	//球编号 白球为0
	private int no;
	//big,small
	private String huase;
	
	private Bitmap bitmap;
	
	private float x;
	private float y;
	
	//是否可进
	private boolean canIn;
	//可进袋0、1、2、3、4、5
	private int[] canInBag;
	
	public boolean isCanIn() {
		return canIn;
	}

	public void setCanIn(boolean canIn) {
		this.canIn = canIn;
	}

	public int getNo() {
		return no;
	}

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

	public Bitmap getBitmap() {
		return bitmap;
	}

	public void setBitmap(Bitmap bitmap) {
		this.bitmap = bitmap;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public String getHuase() {
		return huase;
	}

	public void setHuase(String huase) {
		this.huase = huase;
	}

	public int[] getCanInBag() {
		return canInBag;
	}

	public void setCanInBag(int[] canInBag) {
		this.canInBag = canInBag;
	}
	
	@Override
	public String toString() {
		return "Ball [no=" + no + ", x=" + x + ", y=" + y + ", canIn=" + canIn + ", canInBag="
				+ Arrays.toString(canInBag) + "]";
	}
}